<template>
    <router-link
        v-bind="linkerProps"
    >
        <slot/>
    </router-link>
</template>

<script>
import linkerMixin from '@/mixins/linker';

export default {
    name: 'Linker',
    mixins: [linkerMixin],
    data() {
        return {};
    },
    props: {
        to: {
            type: [String, Object],
            required: true,
        },
    },
};
</script>

<style scoped>
</style>
